package com.alpha.eceasy.mall.api.entity;

import com.alpha.eceasy.extension.BaseFormInfo;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * @author huangpengfei
 */
@Data
@TableName("mall_shopping_cart")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Schema(description= "购物车")
public class MallShoppingCart extends BaseFormInfo<MallShoppingCart> {
    @Serial
    private static final long serialVersionUID = 641655770L;
    @Schema(description =  "customerId")
    private String customerGuid;
    @Schema(description =  "商品规格id")
    private String commoditySpecificationGuid;

    @Schema(description =  "商品数量")
    private Integer number;
}